home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / program / kh_gdi.zip / GD_DMABD.H < prev    next >
C/C++ Source or Header  |  1996-05-11  |  2KB  |  61 lines

  1. #if !defined(__gd_dmabd_h)              // Sentry, use file only if it's not already included.
  2. #define __gd_dmabd_h
  3.  
  4. /*  Project gdi_demo
  5.     
  6.     Copyright ⌐ 1995. All Rights Reserved.
  7.  
  8.     SUBSYSTEM:    gdi_demo.exe Application
  9.     FILE:         gd_dmabd.h
  10.     AUTHOR:       S.Vartanov
  11.  
  12.  
  13.     OVERVIEW
  14.     ========
  15.     Class definition for gdi_demoAboutDlg (TDialog).      
  16. */
  17.  
  18.  
  19. #include <owl\owlpch.h>
  20. #pragma hdrstop
  21.  
  22. #include "gd_dmapp.rh"                  // Definition of all resources.
  23.  
  24.  
  25. //{{TDialog = gdi_demoAboutDlg}}
  26. class gdi_demoAboutDlg : public TDialog {
  27. public:
  28.     gdi_demoAboutDlg (TWindow *parent, TResId resId = IDD_ABOUT, TModule *module = 0);
  29.     virtual ~gdi_demoAboutDlg ();
  30.  
  31. //{{gdi_demoAboutDlgVIRTUAL_BEGIN}}
  32. public:
  33.     void SetupWindow ();
  34. //{{gdi_demoAboutDlgVIRTUAL_END}}
  35. };    //{{gdi_demoAboutDlg}}
  36.  
  37.  
  38. // Reading the VERSIONINFO resource.
  39. class ProjectRCVersion {
  40. public:
  41.     ProjectRCVersion (TModule *module);
  42.     virtual ~ProjectRCVersion ();
  43.  
  44.     bool GetProductName (LPSTR &prodName);
  45.     bool GetProductVersion (LPSTR &prodVersion);
  46.     bool GetCopyright (LPSTR ©right);
  47.     bool GetDebug (LPSTR &debug);
  48.  
  49. protected:
  50.     LPBYTE      TransBlock;
  51.     void FAR    *FVData;
  52.  
  53. private:
  54.     // Don't allow this object to be copied.
  55.     ProjectRCVersion (const ProjectRCVersion &);
  56.     ProjectRCVersion & operator =(const ProjectRCVersion &);
  57. };
  58.  
  59.  
  60. #endif                                      // __gd_dmabd_h sentry.
  61.